package io.gitee.twoke.generator.engine.impl.persistence.entity;

import io.gitee.twoke.generator.engine.impl.cfg.GenerateEngineConfigurationImpl;
import io.gitee.twoke.generator.engine.impl.persistence.TemplateDataManager;
import io.gitee.twoke.generator.engine.impl.persistence.entity.data.DataManager;

public class TemplateEntityManagerImpl extends AbstractEntityManager<TemplateEntity> implements TemplateEntityManager {

    protected TemplateDataManager templateDataManager;

    public TemplateEntityManagerImpl(GenerateEngineConfigurationImpl generateEngineConfiguration,
                                     TemplateDataManager templateDataManager) {
        super(generateEngineConfiguration);
        this.templateDataManager = templateDataManager;
    }

    @Override
    protected DataManager<TemplateEntity> getDataManager() {
        return templateDataManager;
    }

}
